package com.marvels.financial.loan.service;

import java.util.List;

import com.marvels.common.exception.MarvelsBusinessException;
import com.marvels.financial.loan.dto.ExtensionFunctionConditionDTO;
import com.marvels.financial.loan.dto.McfePaymentWithholdDetailDTO;
import com.marvels.financial.loan.dto.PaymentResponse;

/**
 * 展费功能api
 * @author 唐佩文
 *
 */
public interface ExtensionFunctionApi {
	
	/**
	 * 展期功能代扣
	 * @return
	 */
	public PaymentResponse extensionWithhold(ExtensionFunctionConditionDTO conditionDTO) throws MarvelsBusinessException;
	
	
	/**
	 * 展期功能代扣结果查询
	 * @return
	 */
	public PaymentResponse extensionWithholdQuery(ExtensionFunctionConditionDTO conditionDTO) throws MarvelsBusinessException;
	
	
	
	/**
	 * 展期功能代扣结果查询
	 * @param conditionDTO
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public List<McfePaymentWithholdDetailDTO> extensionRecordsQuery(ExtensionFunctionConditionDTO conditionDTO) throws MarvelsBusinessException;
	
	
	
	
	
	/**
	 * 查询展期信息
	 * @param conditionDTO  loanId  type
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public ExtensionFunctionConditionDTO selectExtensionInfo(ExtensionFunctionConditionDTO conditionDTO) throws MarvelsBusinessException;
}
